﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FrameWork.Plugin;
using FrameWork.Setting;

namespace ScreenMonitor.ClientLib.Plugin
{
    public interface IClientPlugin:IPlugin
    {
        /// <summary>
        /// 获取插件的设定编辑器
        /// </summary>
        /// <returns></returns>
        List<SettingEditorItem> GetSettingEditors();
        /// <summary>
        /// 获取当前插件的命令列表
        /// </summary>
        /// <returns></returns>
        List<string> GetCommands();
        /// <summary>
        /// 使当前插件运行指定命令
        /// </summary>
        /// <param name="Command">要运行的命令</param>
        /// <param name="Col">该命令包含的数据</param>
        void RunCommand(string Command, byte[] Data);
    }
}
